package itheima.com.zuoye.d01;

public class Coder extends Insiders {
    @Override
    public void work() {
        System.out.println("工号为"+getId()+"的"+getName()+"的程序员，拿着"+getSalary()+"的工资，正在苦逼的写代码。");
    }

    public Coder(String name, int id, double salary) {
        super(name, id, salary);
    }

    public Coder() {
    }
}
